there are multiple possibilities of failure in this two methods (failing updates etc.) so you probably need some more flexibility in order to provide the user with an appropriate error message