api and rest updates