script for updating ember