How to edit a from offline