Edit option is working