52699413 add update action for label resource

Changed error inheritance from StandardError to InvalidParameters and simplified the action's code.