updated project api and tests