Fixed NPE when passing no options to update