Added ability to edit date