Added save functionality
Added update capability on the server