Submit save functionality

Submit/Save functionality added.