json files created,update delet created but not working