adding save method to objects
handle 404