update save method to return true on success