Update gems & assets workflow & refactor