updated for latest api and changed theme