Fixed the update button and added edit task button