fixed return status for failed update