API functions for updates